package com.zqs.compareface.dao;


import com.zqs.compareface.entity.UserImage;


/**
 * @program: FaceCompar
 * @description:
 * @author: ZQS
 * @create: 2021-08-07 18:00
 */
public class UserFaceData implements UserData {
    private UserImage userImage;
    private String userImageAddr;
    public UserFaceData(UserImage userImage) {
        this.userImage = userImage;
        this.userImageAddr = userImage.getImage();
    }

    @Override
    public String getUserid() {
        return userImage.getUserid();
    }

    /**
     * 返回图片地址
     * @return
     */
    @Override
    public String getUserImage() {
        return userImageAddr;
    }

    @Override
    public String getGroup() {
        return userImage.getGroup();
    }

}
